package day0302;

public class Demo09 {


    public static void main(String[] args) {
        MyException error = error();

        System.out.println(error.getText());
    }


    public static MyException error(){
        return MyException.SERVICEERROR;
    }
}
